import service  from "./service";


const request = ({
    async get(url:any,obj:any){
        let res = await service.get(url,{params:obj})
        return res
      
    },
    async post(url:any,obj:any){
        let res = await service.post(url,obj)
         return res
        
    },
    async delete(url:any){
        let res = await service.delete(url)
         return res
    }
})

export default request